﻿<Window x:Class="WpfTesterApp.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfTesterApp"
        mc:Ignorable="d"
        Title="MainWindow" Height="242" Width="383">
    <Grid>
        <Button Name="ClickMe" Content="Button" HorizontalAlignment="Left" Margin="10,10,0,0" 
                VerticalAlignment="Top" Width="75" Click="Button_Click">
            <Button.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="#FFE90E0E" Offset="1"/>
                    <GradientStop Color="#FF1F4CE3"/>
                </LinearGradientBrush>
            </Button.Background>
        </Button>
        <Calendar Name="MyCalendar" HorizontalAlignment="Left" Margin="120,20,0,0" VerticalAlignment="Top" SelectedDatesChanged="MyCalendar_OnSelectedDatesChanged" />
    </Grid>
</Window>
